home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1993 December
/
PSL Monthly Shareware CD-ROM (December 1993).iso
/
prgmming
/
dos
/
pascal
/
tvgas.exe
/
TVGAS.DOC
< prev
next >
Wrap
Text File
|
1990-10-17
|
13KB
|
314 lines
|
|
|
|
|
|
|
|
|
|
██ ██ |
█ █ |
█ █ |
██ |
█ █ |
█ █ |
██ ██ Tvgas |
Version 2.1 |
|
██ ██████ |
██ █ ██ A Shareware |
██ █ ██ Turbo Pascal VGA Graphics Editor |
██ █ ██ |
██ █ ██ |
██ █ ██ User's Guide |
█████ ██ |
|
|
███ ████ |
█ █ █ |
█ █ █ |
█ █ █ |
█ █ █ |
█ █ █ |
██████████ |
|
I n t e r n a t i o n a l |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BSX's No-License Nonsense Statement!
This product (C) 1990 BSX International
This software is provided "as is" with no guarantees of any kind. You,
the user, are permitted and encouraged to distribute it and use it, but
under the following conditions:
1) You absolutely, positively may not sell this program without the
permission of BSX International.
2) Under no circumstances should you distribute versions of this pro-
duct which have been altered in any way without the permission of BSX
International. You may add files, but MAY NOT remove any.
3) Under no circumstances should you remove the copyright notices from
the code or from the documentation which is provided with it.
4) This is a shareware product. You may use it for free for a short
period. After that you must either register or stop using it. You may
still distribute it, however.
If you find this program to be a blast, you ought to send along a
$5.00 registration fee PAYABLE TO ROBERT ROBERDS to:
BSX International
806 Park Ridge Rd. Apt. A8
Durham, NC 27713
IMPORTANT: Make checks payable to Robert Roberds. Thanx!
You may contact BSX International in writing or at (919) 493-4875. You
also may reach us on Prodigy at JBVC54A. Drop us a line!
Pre-Documentation "Don't Panic" Reassurance
Look, it's real easy. These dox are nice, and you oughtta skim them.
But we gotta tell you: It's a true gut to use TVGAS.
TVGAS: THE BSX SPRITE EDITOR
0. Facts and Stats
This system contains the following files:
TVGAS.EXE -The executable program.
TVGAS.DOC -This document.
BSXCAT.DOC -BSX International catalog.
ORDER.DOC -BSX International order form.
System requirements:
IBM PC,XT,AT,PS/2 or compatible.
256K RAM at the very least.
VGA or MCGA display hardware with full memory.
Microsoft Mouse or compatible.
DOS 2.1 or later.
Hard disk recommended because if you don't have one yer a real loser.
I. General Information
TVGAS is a sprite editor for Turbo Pascal graphics programmers.It lets
you create files containing the data for VGA/MCGA low-resolution images
(320x200 pixels by 256 color mode). These files can then be loaded into
memory and dumped to the screen via the PutImage function. Sprites of up
to 60x40 pixels can be created. Since MCGA is rapidly becoming a standard
mode for graphics games, we figure there'll be demand for this kind of
utility.
"I'm sure," yer no doubt thinking, "that there are plenty of programs
like that around." Well, that's what _we_ thought. It started back in
the summer of 1989 when BSX was working on the first of our truly sprite-
intensive programs. It dawned on us that we were going to have to write
our own kludgy sprite-producing program in order to get through with it.
Well, in the finest capitalistic tradition, we decided to write a nice,
versatile, user-lovable sprite editor instead, to fill this gaping
market niche. This led to the EGA utility TEGAS, which begat the current
VGA product. We hope you all find TVGAS useful. We sure have.
II. Installation
All you have to do is put tvgas.exe on yer disk and go. If you put it
in a directory that is in yer DOS search path, then you can run TVGAS
from the DOS command line, regardless of the directory you happen
to be in. TVGAS should load with no problem. If you want TVGAS to
run without sound, just use the -s command-line switch, as in
tvgas -s
Now yer all set.
III. Using TVGAS
On startup, you'll be greeted by the annoying BSX hello screen, then
sent to the work screen. From here you may choose:
EXIT: Kicks you back to DOS.
LOAD: Loads a sprite file from disk. You must only give the name, not
the extension. TVGAS sprite files all end with .TPS.
SAVE: Saves a sprite to disk. Once again, just give the file name;
don't give the extension.
NEW: Creates a new sprite. You pick the width and height of the new
sprite with the mouse in a self-explanatory way.
DRAW: Picks the default drawing mode, wherein each click of the mouse
sets one pixel.
FILL: Does a region fill in the selected color. Click inside the reg-
ion to fill it.
LINE: Draws a line in the selected color. Click on the endpoints.
CIRCLE: Draws a circle in the selected color. Click first at the cen-
ter, then on the circumference.
RECTANGLE: Draws a rectangle in the selected color. Click on the
opposite corners.
FLIP: Lets you either FLIP the sprite (turn it upside down), or
FLOP it (turn it left-to-right). A secondary menu pops up to let
you choose which.
A color: Pick a color just by clicking on its square at the top of the
screen. Only 16 colors are displayed at once, but you have
access to all 256 by selecting...
A palette: Above the big color selection squares are the smaller pal-
ette selection squares. Just click to select the palette you now
want to work with. Note that the color of a palette square is
the first color it corresponds to. Any and all colors from any
and all palettes may be used in a given sprite, allowing for 256
colors in all. Real pretty.
Using TVGAS images in yer programs:
OK, here's the fun part. Let's say yer writing a program in which you
would like to put a 50x25 pixel image in different parts of the screen.
Then you should start TVGAS, choose NEW, click to make a 50x25 sprite,
and edit away. When yer done, you SAVE it as MYSPRITE.TPS and EXIT.
Now you write yer program. To use VGA 320x200x256